package com.ayf.payment.game.api.service.remote.impl;

import com.ayf.payment.game.api.PartitionRemoteService;
import com.ayf.payment.game.api.dto.*;
import com.ayf.payment.game.api.dto.criteria.TemplateCriteria;
import com.ayf.payment.game.api.dto.getaway.GameRechargeGetWayDTO;
import com.ayf.payment.game.api.service.PartitionService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author wwl
 * @description:
 * @date 2020/5/28 13:09
 */
@Service(group = "xygpay-rpc",version = "1.0.0")
public class PartitionServiceRemoteImpl implements PartitionRemoteService {
    @Autowired
    private PartitionService partitionService;

    @Override
    public List<GameRechargeGetWayDTO> rechargeAllGetWayByManual(List<ReissueRecordD> rrList, ReissueAllTaskDTO reissueAllTask, PartitionDTO partition, TemplateCriteria template, boolean typeTwo, boolean typeThree) {
        return this.partitionService.rechargeAllGetWayByManual(rrList, reissueAllTask, partition, template, typeTwo, typeThree);
    }
    @Override
    public List<GameRechargeGetWayDTO> rechargeAllGetWay(List<ReissueRecordD> rrList, ReissueAllTaskDTO reissueAllTask, PartitionDTO partition, TemplateCriteria template, boolean typeOne, boolean typeTwo, boolean typeThree) {
        return this.partitionService.rechargeAllGetWay(rrList, reissueAllTask, partition, template, typeOne, typeTwo, typeThree);
    }
    @Override
    public GameRechargeGetWayDTO rechargeGetWay(ReissueRecordD reissueRecord, PartitionDTO partition, TemplateCriteria template) {
        return this.partitionService.rechargeGetWay(reissueRecord, partition, template);
    }
    @Override
    public GameRechargeGetWayDTO orderToGetWay(OrderDTO orderDTO, PartitionChangeDTO partition, TemplateCriteria template) {
        return this.partitionService.orderToGetWay(orderDTO, partition, template);
    }
}
